const _0xa9d1 = [
    '701226UFoLOb',
    '.json',
    'iIHnU',
    'parse',
    'readConfig',
    'qQWdu',
    '307OffQUe',
    '../cocos-i',
    'utf-8',
    '1016377oqdkeU',
    'nspector-l',
    'config.jso',
    'ync',
    'saveConfig',
    '1oxUTGs',
    'join',
    'path',
    '29CWEZQf',
    'existsSync',
    '937LBNONR',
    'stringify',
    '21778DAFUyM',
    '708722JvurlN',
    '19YLpfJL',
    '4249mZXRHF',
    'writeFileS',
    'ite-config',
    '1mvjlZs',
    '595381ZPGlIN',
    'readFileSy'
];
const _0x5771f7 = _0x5374;
(function (_0x62d327, _0x5a918f) {
    const _0x170f5c = _0x5374;
    while (!![]) {
        try {
            const _0x56cdd2 = parseInt(_0x170f5c(0x199)) * -parseInt(_0x170f5c(0x188)) + parseInt(_0x170f5c(0x190)) * parseInt(_0x170f5c(0x191)) + -parseInt(_0x170f5c(0x183)) * parseInt(_0x170f5c(0x193)) + -parseInt(_0x170f5c(0x186)) * -parseInt(_0x170f5c(0x18d)) + -parseInt(_0x170f5c(0x18b)) + parseInt(_0x170f5c(0x18c)) * parseInt(_0x170f5c(0x18a)) + parseInt(_0x170f5c(0x17e));
            if (_0x56cdd2 === _0x5a918f)
                break;
            else
                _0x62d327['push'](_0x62d327['shift']());
        } catch (_0x5a7e75) {
            _0x62d327['push'](_0x62d327['shift']());
        }
    }
}(_0xa9d1, -0x706b * -0x13 + -0x2e028 * 0x1 + 0x16a89));
let fs = require('fs'), path = require(_0x5771f7(0x185)), _configPath = path[_0x5771f7(0x184)](__dirname, _0x5771f7(0x180) + 'n'), __parentConfig = path[_0x5771f7(0x184)](__dirname, _0x5771f7(0x17c) + _0x5771f7(0x17f) + _0x5771f7(0x18f) + _0x5771f7(0x194));
function _0x5374(_0x402fec, _0x31b37a) {
    _0x402fec = _0x402fec - (0x1aa9 + -0x3 * 0x241 + -0x126a);
    let _0x10739f = _0xa9d1[_0x402fec];
    return _0x10739f;
}
global[_0x5771f7(0x197)] = () => {
    const _0x569bc7 = _0x5771f7, _0x17990d = { 'iIHnU': _0x569bc7(0x17d) };
    let _0x4fcd4a = '';
    return fs[_0x569bc7(0x187)](__parentConfig) ? _0x4fcd4a = fs[_0x569bc7(0x192) + 'nc'](__parentConfig, { 'encoding': _0x17990d[_0x569bc7(0x195)] }) : _0x4fcd4a = fs[_0x569bc7(0x192) + 'nc'](_configPath, { 'encoding': _0x17990d[_0x569bc7(0x195)] }), JSON[_0x569bc7(0x196)](_0x4fcd4a);
}, global[_0x5771f7(0x182)] = _0x41cdaa => {
    const _0x44b6b5 = _0x5771f7, _0x517147 = { 'qQWdu': _0x44b6b5(0x17d) };
    let _0x46577b = JSON[_0x44b6b5(0x189)](_0x41cdaa);
    fs[_0x44b6b5(0x18e) + _0x44b6b5(0x181)](__parentConfig, _0x46577b, { 'encoding': _0x517147[_0x44b6b5(0x198)] });
};